package com.springboot.demo.model.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor

public class Order implements Serializable {

    private Integer orderId;

    @ApiModelProperty("用户id")
    private Integer customerId;

    @ApiModelProperty("订单编号")
    private String orderNumber;

    @ApiModelProperty("月嫂id")
    private Integer StaffId;

    @ApiModelProperty("商品id")
    private Integer goodsId;

    @ApiModelProperty("商品类别1:月嫂类 2:保洁类")
    private Integer goodsType;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品类型编码")
    private String goodsTypeCode;

    @ApiModelProperty("新生儿:0否,1是")
    private Integer isBaby;

    @ApiModelProperty("预产期")
    private Date babyExpectedDate;

    @ApiModelProperty("1男,0女")
    private Integer babySex;

    @ApiModelProperty("月龄")
    private String babyMonthsAge;

    @ApiModelProperty("服务星级")
    private String serviceLevel;

    @ApiModelProperty("服务开始日期")
    private Date serviceBeginTime;

    @ApiModelProperty("服务结束日期")
    private Date serviceEndTime;

    @ApiModelProperty("服务每天开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm")
    private Date serviceDayBeginTime;

    @ApiModelProperty("服务每天结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm")
    private Date serviceDayEndTime;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("详细地址")
    private String detailedAddress;

    @ApiModelProperty("订单价格")
    private BigDecimal orderPrice;

    @ApiModelProperty("支付状态:1待确认,2待付款,3服务中,4已完成")
    private Integer payStatus;

    @ApiModelProperty("实际支付价格")
    private BigDecimal payPrice;

    @ApiModelProperty("支付时间")
    private Date payDate;

    @ApiModelProperty("支付方式:1微信")
    private Integer payType;

    @ApiModelProperty("状态:0删除,1正常")
    private Integer orderStatus;

    @ApiModelProperty("服务内容")
    private String serveContent;

    private Integer createUserId;

    private Date createTime;

    private Integer updateUserId;

    private Date updateTime;

    private String remark;


}